/* 重置基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #cfefff; /* 仿游戏蓝天背景 */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

/* 网格容器 */
#game-grid {
  display: grid;
  grid-template-columns: repeat(8, 80px); /* 8列，每列80px */
  grid-template-rows: repeat(10, 80px);  /* 10行，每行80px */
  gap: 5px;
  background: #f3d9a3; /* 仿截图沙色底 */
  border: 5px solid #e6b87d;
  border-radius: 8px;
}

/* 网格单元格 */
.grid-cell {
  background: #fff5e1;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 物品图标 */
.grid-cell img {
  width: 60px;
  height: 60px;
  pointer-events: none; /* 让点击穿透到单元格 */
}

/* 顶部信息栏 */
.top-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}
